<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{block name="title"}SpeedUp外卖{/block}</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="/static/sui/css/sm.min.css">
    <link rel="stylesheet" href="/static/sui/css/sm-extend.min.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_lrvc7rwojrsmunmi.css">


    <script src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
    <script src="/static/plugs/jquery/jquery.cookie.js"></script>
    <script src="https://unpkg.com/vue/dist/vue.js"></script>


    {block name="css"}

    {/block}

    <style>


        input:-webkit-autofill {
            -webkit-box-shadow: 0 0 0px 1000px white inset !important;
        }

        .bar-tab .iconfont {
            font-size: 1rem;
            display: block;
        }

        .tab-label {
            position: relative;
            top: -7px;
            font-size: .7rem;
        }


    </style>

</head>
<body>


<script src="/static/sui/js/sm.js"></script>
<script src="/static/sui/js/sm-extend.js"></script>


<script src="http://sui.ctolog.com/dist/js/sm-city-picker.js"></script>
<div class="page-group">
    <div class="page page-current" id="page">


        {block name="page"}

        主题内容

        {/block}


        <nav class="bar bar-tab">
            <a class="tab-item external active" href="/" id="index">
                <span class="iconfont icon-shouye"></span>
                <span class="tab-label">首页</span>
            </a>
            <a class="tab-item external" href="/order/" id="order">
                <span class="iconfont icon-fuzhi"></span>
                <span class="tab-label">订单</span>
            </a>


            {if condition="isShiper()"}
            <a class="tab-item external" href="/ship/" id="ship">
                <span class="iconfont icon-icon049"></span>
                <span class="tab-label">配送员</span> {if condition="newShip()"}
                <span class="badge">{:newShip()}</span>
                {/if}
            </a>
            {/if}

            {if condition="isMaster()"}
            <a class="tab-item external" href="/Master/" id="master">
                <span class="iconfont icon-shanghu"></span>
                <span class="tab-label">店铺</span>
                {if condition="newMaster()"}
                <span class="badge">{:newMaster()}</span>
                {/if}
            </a>
            {/if}

            <a class="tab-item external" href="/my/" id="my">
                <span class="iconfont icon-geren"></span>
                <span class="tab-label">我的</span>
            </a>
        </nav>


        <script>

            $(document).on("pageInit", function (e, pageId, $page) {
                $(".bar a").removeClass('active')
                $("#{:request()->module()}").addClass('active');
            });

        </script>

    </div>


</div>

{block name="base"}

{/block}


{block name="js"}
{/block}
<script>


    $("input").on("click", function () {
        //console.log("输入")
        $(this).focus();
    })


</script>
<script src="http://cdn.ronghub.com/RongIMLib-2.2.5.min.js"></script>
<script src="/js/Rong.js"></script>
</body>
</html>